package com.cykj.pos.domain.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.cykj.common.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
import java.util.HashMap;
import java.util.Map;

/**
 * @author Wangjiaqi
 * @date 2022/07/25
 */
@Data
public class BizAfullOperationRecordSheetlistDTO {
    private static final long serialVersionUID=1L;


    /** 操作主键 */
    @TableId(value = "record_id")
    private Long recordId;

    /** 代理id */
    @Excel(name = "代理id")
    private Long userId;

    /** 代理id */
    @Excel(name = "代理全称")
    private String merchName;

    /** 终端SN系列号 */
    @Excel(name = "终端SN系列号")
    private String posCode;

    /** 操作的当前时间 */
    @Excel(name = "操作时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date operateTime;

    /** 操作类型 */
    @Excel(name = "操作类型：1、伙伴转移")
    private String operateType;

    private String oldMerchName;

    private String newMerchName;


    /** 备用字段 */
    @Excel(name = "操作人")
    private String operator;

    private String nickName;

    @TableField(exist = false)
    private Map<String, Object> params = new HashMap<>();
}
